package inesv.service.iml;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import inesv.dto.User;
import inesv.dto.admin;
import inesv.mapper.UserMapper;
import inesv.service.userService;

@Service
public class UserServiceIml implements userService {

	@Autowired
	admin admin;
	
	@Autowired
	UserMapper userMapper;
	
	@Override
	public User getUserById(Long userNo) { 
		System.out.println( admin);
		User user  = userMapper.getUser(userNo);
		return user;
	}

}
